package org.test.updownload;

public class UploadStatus {

	private long bytesRead;// 已上传字节

	private long contentlength;// 所有文件的总长度

	private int items; // 正在上传第几个文件

	private long startTime = System.currentTimeMillis();// 开始上传时间,用于计算机速率等

	private float uploaded;// 上传的百分比

	/**
	 * @return the bytesRead
	 */
	public long getBytesRead() {
		return bytesRead;
	}

	/**
	 * @param bytesRead
	 *            the bytesRead to set
	 */
	public void setBytesRead(long bytesRead) {
		this.bytesRead = bytesRead;
	}

	/**
	 * @return the contentlength
	 */
	public long getContentlength() {
		return contentlength;
	}

	/**
	 * @param contentlength
	 *            the contentlength to set
	 */
	public void setContentlength(long contentlength) {
		this.contentlength = contentlength;
	}

	/**
	 * @return the items
	 */
	public int getItems() {
		return items;
	}

	/**
	 * @param items
	 *            the items to set
	 */
	public void setItems(int items) {
		this.items = items;
	}

	/**
	 * @return the startTime
	 */
	public long getStartTime() {
		return startTime;
	}

	/**
	 * @param startTime
	 *            the startTime to set
	 */
	public void setStartTime(long startTime) {
		this.startTime = startTime;
	}

	/**
	 * @return the uploaded
	 */
	public float getUploaded() {
		return uploaded;
	}

	/**
	 * @param uploaded
	 *            the uploaded to set
	 */
	public void setUploaded(float uploaded) {
		this.uploaded = uploaded;
	}

}
